{include information.inc.header}
{include member.inc.header_web}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/">首页</a>  > 资讯首页</div>
    <div class="info">
        <div class="cont">
            <section class="left slidesBox" id="focusSlide">
                <ul class="wrap">
                    {loop $advs $adv}
                    <li class="item">
                        <a href="{if $adv[link]}{$adv[link]}{else}javascript:void(0){/if}" {if $adv['target']==1}target="_blank"{/if}>
                        <img src="{$adv.content}" title="{$adv.title}" width="760" height="470" />
                        </a>
                    </li>
                    {/loop}
                </ul>
                <div class="arrow">
                    <a href="javascript:;" class="left"><i></i></a>
                    <a href="javascript:;" class="right"><i></i></a>
                </div>
            </section>
            <aside class="right topRight">
                <div class="header">
                    <div class="mark"><h2>{cut $items[0][name] 5}</h2></div>
                    <a class="more_link" href="{$more_url}?cate={$items[0][id]}">更多 > </a>
                    <!--<a class="btn_more" href="javascript:;"></a>-->
                </div>
                <ul>
                    {loop $items[0]['information'] $item}
                    <li>
                        <time>{expr date("m-d",strtotime($item[addtime]))}</time>
                        <a href="{$detail_url}?id={$item.id}" title="{$item.title}">{$item.title}</a>
                    </li>
                    {/loop}
                </ul>
                <img class="shade-bg" src="/res/mpe/img/web/temp/info_topRight.png"/>
            </aside>
        </div>

        {run $items_count = count($items)-1;}
        {loop $items $key $item}
        {if $key>0}
            {if $key%2==1}
            <div class="cont">
            {/if}
                {if $key%2==1}
                <section class="section left">
                    <div class="header">
                        <!--<a class="more_link" href="{$more_url}?cate={$item[id]}">更多<i class="icon_add"></i></a>-->
                        <a class="more_link" href="{$more_url}?cate={$item[id]}">更多 > </a>
                        <!--<a class="more_link" href="{$more_url}?cate={$item[id]}"><i class="more_new"></i> MORE </a>-->

                        <h1>{$item[name]}</h1>
                    </div>
                    {loop $item[information] $info}
                    <article><a href="{$detail_url}?id={$info[id]}">
                        <img class="thumb" src="{if $info[image_url]}{$info[image_url]}{else}/res/mpe/img/web/temp/little.png{/if}" />
                        <div class="summary">
                            <h2 title="{$info.title}">{$info.title}</h2>
                            <p>{cut $info[summary] 80}</p>
                            <div class="foot">
                                <time>{date strtotime($info['addtime']) Y-m-d}</time>
                                <div class="tag">
                                    <i class="icon_tag"></i>
                                    {loop $info[tagsArr] $tag}
                                    <span>{$tag}</span>
                                    {/loop}
                                </div>
                            </div>
                        </div>
                    </a>
                   </article>
                    {/loop}
                </section>
                {else}
                <div class="right"><!--{-if $item[information]}<!--判断是否有数据-->
                    {if $adrights[$key][content]}
                    <div class="ad">
                        <a href="{$adrights[$key][link]}" {if $adrights[$key][target]==1}target="_blank"{/if}>
                            <img title="{$adrights[$key][title]}" src="{$adrights[$key][content]}" width="400" height="208"/>
                        </a>
                    </div>
                    {/if}
                    <aside class="aside">
                        <div class="header">
                            <a class="more_link" href="{$more_url}?cate={$item[id]}">更多 > </a>
                            <!--<a class="more_link" href="{$more_url}?cate={$item[id]}">更多<i class="icon_add"></i></a>-->
                            <h2>{$item[name]}</h2>
                        </div>
                        <div class="card">
                            <div class="top">
                                {if $item[information][0][image_url]}
                                <img class="thumb" title="{$item[information][0][title]}" src="{$item[information][0][image_url]}"/>
                                {else}
                                <img class="thumb" src="/res/mpe/img/web/temp/aside.png"/>
                                {/if}
                                <a href="{$detail_url}?id={$item[information][0][id]}" title="{$item[information][0][title]}">{$item[information][0][title]}</a>
                            </div>
                            <ul class="bottom">
                                {loop $item[information] $k $info}
                                {if $k>0}
                                <li><a href="{$detail_url}?id={$info[id]}" title="{$info.title}">{$info.title}</a><time>{date strtotime($info['addtime']) m-d}</time></li>
                                {/if}
                                {/loop}
                            </ul>
                        </div>
                    </aside>
                </div>
                {/if}
            {if $key%2==0 || $key==$items_count}</div>{/if}
            {if $key==2}
            <div class="ad_bar">
                <a title="{$admiddle.title}" href="{if $admiddle['link']}{$admiddle.link}{else}javascript:void(0){/if}" target="{if $admiddle['target']==1}_blank{/if}">
                    <img title="{$admiddle.title}" src="{if $admiddle[content]}{$admiddle.content}{/if}"/>
                </a>
            </div>
            {/if}
        {/if}
        {/loop}
    </div>
</main>


{include member.inc.footer}
{include member.inc.script_web}
<script>
   seajs.use('info',function(info){
       info.indexInit();
   });
</script>
{include member.inc.foot_hook}
</body>
</html>
